from django.test import TestCase

# Create your tests here.
lists = []
abc = [{'name': 'girl.jpg', 'brandtag': '阿里巴巴', 'sitetag': '北京', 'brandtaglocation': '100px,100px', 'sitetaglocation': '100px,100px'}, {'name': 'qq.jpg', 'brandtag': '腾讯', 'sitetag':
'深圳', 'brandtaglocation': '100px,100px', 'sitetaglocation': '100px,100px'}]

img_dict = {'girl.jpg': 'url1', 'qq.jpg': 'url2'}
for img in abc:
    print(img['name'] in img_dict)

